<div class="close_btn" (click)='exitStudy()'>
    <div class="tip">【开关】按钮，通过点击您可以退出该课程</div>
</div>

<!-- 关闭按钮的弹窗 -->
<div class="modal" *ngIf="modal">
    <div class="modal-dialog">
        <p>请问您是否要退出该课程</p>

        <button (click)="closeWindow()">是</button>
        <button (click)="reStudy()">否</button>
    </div>
</div>